<%--
  Created by IntelliJ IDEA.
  User: 10352
  Date: 2022/7/25
  Time: 15:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
${massge}
${massgee}
<div align="center">
    <form action="">
        <h1>新能源汽车动力电池信息</h1>
        <table border="1">
            <tr>
                <td>编号</td>
                <td>车型</td>
                <td>所属城市</td>
                <td>使用单位</td>
                <td>压差报警值</td>
                <td>报警时间</td>
                <td>操作</td>
            </tr>

            <a href="add.jsp">添加</a>
            <c:forEach items="${xianshi}" var="q">
                <tr>
                    <td> ${q.post_id}</td>
                    <td> ${q.post_code}</td>
                    <td> ${q.post_name}</td>
                    <td> ${q.status}</td>
                    <td> ${q.post_sort}</td>
                    <td>${q.time}</td>
                    <td><a href="Update_doServlet?id=${q.post_id}">修改</a>&nbsp;</td>
                    <td><a href="DeleteServlet?id=${q.post_id}">删除</a></td>
                </tr>
            </c:forEach>

        </table>
    </form>

</div>
</body>
</html>
